#!/bin/sh
#
# $OpenBSD: mcollectived.rc,v 1.3 2016/09/21 20:27:40 sebastia Exp $

daemon="${TRUEPREFIX}/sbin/mcollectived"
daemon_flags="--pid=/var/run/mcollectived.pid"

. /etc/rc.d/rc.subr

pexp="${RUBY} ${daemon}${daemon_flags:+ ${daemon_flags}}"
rc_reload=NO

rc_cmd $1
